serial: mpc8xx: Move serial registration from serial_initialize()
authorMarek Vasut <[email protected]>
Wed, 12 Sep 2012 11:50:56 +0000 (13:50 +0200)
committerTom Rini <[email protected]>
Mon, 15 Oct 2012 18:53:49 +0000 (11:53 -0700)
commitf0eb1f61b02ebd5c86c1db4399f7d78518377910
treeabf6f43d93e9e2b19acde4947df6148316bbd076
parent2a333aeb8ff4e7b05c47bfaec1816fc2eb8e0198
serial: mpc8xx: Move serial registration from serial_initialize()

Move the registration of serial_smc and serial_scc ports from
default serial_initialize() into CPU specific function called from
serial_initialize(). This slims down the serial_initialize() call
to a bare tracker of all possible serial port registration routines
in U-Boot.

The exports of both serial_scc_device and serial_smc_device can
not yet be removed as they are still used in default_serial_console()
calls.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Anatolij Gustschin <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Mike Frysinger <[email protected]>
arch/powerpc/cpu/mpc8xx/serial.c
common/serial.c